<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<tiles:insertDefinition name="defaultTemplate">
	<tiles:putAttribute name="body">
	<link href="${pageContext.request.contextPath}/resources/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" />
	<script type="text/javascript" src="${pageContext.request.contextPath}/resources/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js" ></script> 
	<script type="text/javascript" src="${pageContext.request.contextPath}/resources/js/menuManagement.js"></script>
		<div class="body">
		

				<div class="panel-heading">
					<h4><span class="text-success">Manage Application Menu</span> <span style="color:#ccc; text-shadow:0 1px #fff"> ${vaApplicationName }</span></h4>
				</div>	
					<div id="message"></div>
					<div class="form-list clearfix" style="margin-left: 200px; min-height: 450px;">
						
						<input type="hidden" name="appId" id="appId" value="${vaApplicationId}">
						<div class="menu" id="0"></div>
						<div align="center" style="margin-top: 80px;">
							<button type="button" class="btn btn-primary" onclick="saveData()"><i class="fa fa-floppy-o"></i> บันทึก</button>
						</div>
					</div>
	
		</div>
	</tiles:putAttribute>
</tiles:insertDefinition>